<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>附件管理-<?php echo $cfg_sitename."-".$cfg_sysversion;?></title>
<meta property="xn:admins" content="583870616"/>
<meta property="wb:webmaster" content="ye-shi-li@qq.com">
<link href="templets/css/admin_css.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="templets/js/admin.js"></script>
</head>
<body>
<table width="98%" border="0" cellpadding="3" cellspacing="1" class="ye">
  <tr bgcolor="#666666">
    <td height="24" colspan="10"><font color="#FFFFFF">&nbsp;<strong>附件管理</strong></font></td>
  </tr>
  <tr bgcolor="#f5f5f5">
    <td width="5%" height="24" align="center" valign="middle">选择</td>
    <td width="30%" align="center" valign="middle">附件名称</td>
    <td width="13%" align="center" valign="middle">附件大小</td>
    <td width="13%" align="center" valign="middle">附件类型</td>
    <td width="13%" align="center" valign="middle">所属用户</td>
    <td width="14%" align="center" valign="middle">上传时间</td>
    <td width="12%" align="center" valign="middle">操作</td>
  </tr>
  <form name="form" method="post" action="admin_files_ok.php?act=delcheck">
  <?php
	foreach ($s_list as $list){
    ?>
   <tr onMouseOver="this.style.background='#f5f5f5'" onMouseOut="this.style.background='#ffffff';"  bgcolor="#ffffff">
    <td align="center" valign="middle"><input type="checkbox" name="ck[]" id="ck[]" value="<?php echo $list['id'];?>" /></td>
    <td align="center" valign="middle"><?php echo get_namefile($list['title'],$list['url']);?></td>
    <td align="center" valign="middle"><?php echo $list['size'];?></td>
    <td align="center" valign="middle" style="vertical-align: middle;"><?php echo get_fileicon($list['type']);?></td>
    <td align="center" valign="middle"><?php echo get_field('admin','username','id',$list['uid']);?></td>
    <td align="center" valign="middle"><?php echo $list['datetime']?></td>
    <td align="center" valign="middle" class="caozuo"><a href="admin_files_ok.php?id=<?php echo $list['id']; ?>&act=del" onClick="javascript:return confirm('确实要删除吗?')" title="删除"><img src="templets/images/del.png" alt="删除" border="0" /></a></td>
  </tr>
  <?php
  	}
  ?>
  <tr>
    <td height="24" colspan="10" bgcolor="#F8FCF6"><input type="button" name="button" class="del" value="选择" onclick="delcheck();" /><input type="submit" name="button" class="del" value="删除" onClick="javascript:return confirm('确实要删除吗?')"/><?php page($sqlstr,$page_size,"admin_files.php?page",$page);?></td>
  </tr>
  </form>
</table>
</body>
</html>
<link rel="stylesheet" type="text/css" href="/inc/js/fancyBox/source/jquery.fancybox.css?v=2.1.5" media="screen" />
<script type="text/javascript" src="/inc/js/fancyBox/lib/jquery-1.10.1.min.js"></script>
<script type="text/javascript" src="/inc/js/fancyBox/source/jquery.fancybox.js?v=2.1.5"></script>
<script>
	$(function(){
		$('.fancybox').fancybox({
			type: 'image',
			});
	});
</script>
